//
//  CollectCityTableViewCell.m
//  BreadTravel
//
//  Created by dllo on 15/12/30.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "CollectCityTableViewCell.h"

@implementation CollectCityTableViewCell

- (void)awakeFromNib {
    // Initialization code
    NSLog(@"xib走这个方法");
}


-(void)setModel:(CoreDataModel *)model
{
    NSLog(@"setter Model");
    [self.headImageView sd_setImageWithURL:[NSURL URLWithString:model.imageName] placeholderImage:IMAGE];

    self.label.text = model.titleName;
    self.label.numberOfLines = 0;


}





- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
